<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Edit Link</title>
<link rel="stylesheet" type="text/css" href="common/css/register.css">
</head>
<body>
	<div class="htmleaf-container">
		<div class="wrapper">
			<div class="container">
				<h1>Welcome</h1>

				<%-- <form class="form" id="regist" action="updatelink.action?linkID=${editLink.linkID}"
					method="POST"> --%>
				<form class="form" id="regist" action="updatelink.action"
					method="POST">

					<div>
						<label class="usertitle">Link&nbsp;&nbsp;ID:${editLink.linkID}</label>
						<input type="hidden" name="linkID" id="link" readonly="readonly"
							value="${editLink.linkID}"/> 
					</div>

					<div class="list">
						<label class="usertitle">Link&nbsp;&nbsp;Name:</label> <input
							type="text" name="linkName" value="${editLink.linkName }"
							class="userinput" placeholder="LinkName" />
					</div>

					<div class="list">
						<label class="input-title">LinkURL:</label> <input type="url"
							name="linkURL" value="${editLink.linkURL }" class="userinput"
							id="name" placeholder="Please input linkURL" validate="require"
							data-validate-text="" />
					</div>

					<div class="list">
						<label class="input-title">Catalogue&nbsp;&nbsp;Parent&nbsp;&nbsp;ID:</label>
						<input type="number" name="CatalogueParentID"
							value="${editLink.catalogueParentID }" id="tel"
							placeholder="Please input CatalogueParentID" class="userinput"
							validate="require" data-validate-text="" />
					</div>

					<div class="list">
						<label class="input-title">Catalogue&nbsp;&nbsp;Level:</label> <input
							type="text" name="catalogueLevel" value="${editLink.catalogueLevel }"
							id="email" placeholder="Please input catalogueLevel"
							class="userinput" validate="require"/>
					</div>

					<div class="list">
						<label class="input-title">QuickLink&nbsp;&nbsp;Flag:</label> <input
							type="text" name="quickLink_flag" value="${editLink.quickLink_flag }"
							id="tel" placeholder="Please input quickLink_flag"
							class="userinput"/>
					</div>

					<div class="list">
						<label class="input-title">QuickLink&nbsp;&nbsp;Catalogue:</label>
						<input type="text" name="quickLink_Catalogue"
							value="${editLink.quickLink_Catalogue }" id="tel"
							placeholder="Please enter quickLink_Catalogue,null or " class="userinput"/>
					</div>

					<div class="list">
						<label class="input-title">LinkDelete&nbsp;&nbsp;Flag:</label> <input
							type="text" name="linkDelete_flag" value="${editLink.linkDelete_flag }"
							id="tel" placeholder="Please input linkDelete_flag,true or false "
							class="userinput" />
					</div>

					<button type="submit" class="btn1" id="submit1">Submit</button>
					<button type="button" class="btn2" id="back"
						onclick="window.location='searchAllLink.action'">Return</button>

				</form>
			</div>
		</div>
	</div>
</body>

</html>